package com.hy.properties.prop;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * author: Mr.Du
 * Date: 2023/6/28
 * Time: 18:00
 */
@Data
@NoArgsConstructor   //作用于类，生成一个无参构造方法
@ConfigurationProperties(prefix = "member")
public class OtherMember {
    
    private String name;
    
    private int sex;
    
    private int age;
}
